﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using PolePositionMobileUtilityLogic;
using System.Data;

using PolePositionMobileUtilityGeneral;

namespace PolePositionMobileUtilityEntity
{
    public class EImage
    {

        #region Fields
        private Int32 m_Id;
        private EUtilityInspection m_UtilityInspection;
        private EUtilityInspectionResult m_UtilityInspectionResult;
        private string m_FileName;
        private bool m_IsDeleted;
        
        #endregion

        #region Properties
        public Int32 Id
        {
          get
          {
            return m_Id;
          }
          set
          {
            m_Id = value;
          }
        }
        public EUtilityInspection UtilityInspection
        {
            get
            {
                return m_UtilityInspection;
            }
            set
            {
                m_UtilityInspection = value;
            }
        }
        public EUtilityInspectionResult UtilityInspectionResult
        {
            get
            {
                return m_UtilityInspectionResult;
            }
            set
            {
                m_UtilityInspectionResult = value;
            }
        }
        public string FileName
        {
            get
            {
                return m_FileName;
            }
            set
            {
                m_FileName = value;
            }
        }
        public bool IsDeleted
        {
            get
            {
                return m_IsDeleted;
            }
            set
            {
                m_IsDeleted = value;
            }
        }
        
        #endregion

        public EImage()
        {
            m_FileName = string.Empty;
            m_Id = Int32.MinValue;
            m_UtilityInspection = new EUtilityInspection();
            m_UtilityInspectionResult = new EUtilityInspectionResult();
            m_IsDeleted = false;
        }

        public EImage(string fileName)
        :this()
        {
            m_FileName = fileName;
        }




    }
}
